﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SetCGB.aspx.cs" Inherits="SetCGB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
 <META   HTTP-EQUIV="Pragma"   CONTENT="no-cache">   
   <META   HTTP-EQUIV="Cache-Control"   CONTENT="no-cache">   
   <META   HTTP-EQUIV="Expires"   CONTENT="0"> 
    <title>设置检验依据</title>
        <base target="_self"/>
        <link href="css/default.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="Js/jquery-1.3.1.min.js"></script>
    <script language="javascript" type="text/javascript">

        /*更换显示样式*/
        function setTab(name,cursel,n)
        {
            for(i=1;i<=n;i++)
            {
                var menu=document.getElementById('one'+i).firstChild;
                if(menu.className=="selected")
                {
                    menu.className="selected";
                }
                else
                {
                    menu.className=i==cursel?"hover":"";
                }
            }
        }
    
        function pageLoad(sender, args)
        {
           if(args.get_isPartialLoad())
           {
               SetInputClass();
           }
        }

        $(document).ready(SetInputClass);
　　　　
　　　　function SetInputClass() {
            $(":text").hover
            (
                  function() {
                      $(this).addClass("texthover");
                  },
                  function() {
                      $(this).removeClass("texthover");
                  } 
             );
             
             $(":submit").addClass("button");
         }
    </script>
</head>
<body style="background-color:White;">
    <form id="form1" runat="server">
    <h2>为合同<asp:Label ID="LabelReportID" runat="server"></asp:Label>设定检验依据</h2>
    <hr />
                 <ajaxToolkit:ToolkitScriptManager ID="AjaxScriptManager" runat="server" EnableScriptGlobalization="true"
                    EnableScriptLocalization="true">
                </ajaxToolkit:ToolkitScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
      <table width="90%">
    <tr>
    <td>可供选择的标准： <asp:DropDownList ID="DropDownListGbInfo" runat="server" Width="100%"  AutoPostBack="true" OnSelectedIndexChanged="DropDownListGbInfo_SelectedIndexChanged">
        </asp:DropDownList></td>
    </tr>
    <tr>
    <td>标题：<asp:TextBox ID="TextBoxGbTitle" ReadOnly="true" runat="server" Width="100%"></asp:TextBox></td>
    </tr>
    <tr>
    <td>摘要：<asp:TextBox ID="TextBoxGbSubject" TextMode="MultiLine" ReadOnly="true"  runat="server" Width="100%"></asp:TextBox></td>
    </tr>
    <tr>
    <td> 状态：<asp:TextBox ID="TextBoxGbStatus" ReadOnly="true"  runat="server"></asp:TextBox></td>
    </tr>
    <tr>
    <td>备注：<asp:TextBox ID="TextBoxGbRem" TextMode="MultiLine" ReadOnly="true"  runat="server" Width="100%"></asp:TextBox></td>
    </tr>
    <tr>
    <td><asp:Button ID="btnGbInfoSelectOK" runat="server" Text="确定" OnClick="btnGbInfoSelectOK_Click" />
        &nbsp;&nbsp; <input type="button" onclick="javascript:window.returnValue=false;self.close();" value="取消" id="btnReturn"/>
       <%-- <asp:Button ID="btnGbInfoSelectCancel" runat="server" Text="取消" />--%></td>
    </tr>       
    </table>
           </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
